FilterEverything\Filter\FilterFields D

Total Complexity 211
Dependencies 4
Dependents 3
Total lines 1,354
Lines of code 956
Logical lines of code 462
Comment lines 154
Methods 34
Properties 5

Methods 34

Method Rating Maintainability Complexity Lines of code
validateTheFilter()
D
23
50 185
prepareFilterInputs()
D
29
44 106
sanitizeFilterFields()
A
43 11 49
setupDefaultFields()
A
29 1 172
sendExcludedTerms()
A
47 9 36
ajaxDeleteFilter()
A
50 9 28
ajaxValidateFilters()
A
50 9 26
validateFilters()
A
52 8 24
getFilterNames()
S
53 7 23
entityBelongsToPostType()
S
58 6 15
fillErrorsMessages()
S
58 5 15
deleteRelatedFilters()
S
56 4 18
saveFilter()
S
49 3 30
getFiltersInputs()
S
62 4 11
getFieldsByType()
S
63 4 10
addSpinnerToSelect()
S
59 3 14
getErrorsList()
S
44 1 43
filterBelongsToPostType()
S
61 3 12
getErrorCodes()
S
66 3 9
isTaxonomyBelongsToPostType()
S
65 3 9
pushError()
S
64 3 10
deleteFilter()
S
65 3 10
prepareFilterCheckboxFields()
S
64 3 10
getInsteadEntityField()
S
57 1 16
registerHooks()
S
63 2 10
getErrorMessage()
S
69 2 7
getErrors()
S
72 2 6
generateInputName()
S
68 2 7
getOrderByOptions()
S
60 1 13
getEmptyFilterObject()
S
62 1 11
getFieldsMapping()
S
82 1 3
getViewOptions()
S
63 1 10
generateInputID()
S
78 1 3
__construct()
S
73 1 5